import '@/assets/main.css'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import plugins from '@/plugins'
import 'element-plus/dist/index.css'
// 解决页面passive-events警告
import 'default-passive-events'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const pinia = createPinia();
// pinia持久化存储
pinia.use(piniaPluginPersistedstate);

const app = createApp(App)
app.use(pinia)
   .use(router)
   .use(plugins)
   .mount('#app')
